﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Zj.CourseManage.Domain.Core;

namespace Zj.CourseManage.Mvc.Models
{
    /// <summary>
    /// teacher view model
    /// </summary>
    public class TeacherVm
    {
        [Display(Name = "教师编号")]
        public int Id { get; set; }



        [Display(Name="教师名称")]
        public string Name { get; set; }



        [Display(Name = "所属科室")]
        public  Office Office { get; set; }


        [Display(Name = "入职日期")]
        public DateTime HireDate { get; set; }



        [Display(Name = "教授课程")]
        public List<Course> Couses { get; set; }



        [Display(Name = "学生")]
        public List<Student> Students { get; set; }
    }
}
